import request from '../request';

interface FlashListParmas {
    keyword?: string,
    pageNum: number,
    pageSize: number
}
interface FlashListResData{
    list: {}[],
    total:number
}
// 根据活动名称分页查询
export const getFlashList = (data:FlashListParmas):PromiseRes<FlashListResData> => request.get('/flash/list',{params:data});